package inherit.homework2;

public class TestAniaml {
    public static void main(String[] args) {
        Animal animal =new Rabbit("吉吉");
        animal.eat();
        animal.sleep();
        animal =new Tiger("白虎");
        animal.eat();
        animal.sleep();

    }
}